﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UcPersonList.ascx.cs"
    Inherits="V1_UcPersonList" %>
<%@ OutputCache Duration="30" VaryByParam="*" ProviderName="FileOutputCacheProvider" %>
<div id="list-contain" class="ui-widget">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <%--begin content--%>
            <table id="tbList" class="ui-widget ui-widget-content">
                <thead>
                    <tr class="ui-widget-header">
                        <th>
                            <input id="chkSelectAll" type="checkbox" onclick="javascript:SelectAll(this);" />
                        </th>
                        <th style="width: 50%">
                            code
                        </th>
                        <th style="width: 50%">
                            name
                        </th>
                        <th>
                            CreationDate
                        </th>
                    </tr>
                </thead>
                <asp:Repeater ID="rpList" runat="server">
                    <ItemTemplate>
                        <tbody>
                            <tr>
                                <td>
                                    <asp:CheckBox ID="chkSel" runat="server" />
                                </td>
                                <td style="text-align: center">
                                    <%# Eval("Code") %>
                                </td>
                                <td style="text-align: center">
                                    <%# Eval("Name") %>
                                </td>
                                <td style="white-space: nowrap;">
                                    <%# Eval("CreationDate") %>
                                </td>
                            </tr>
                        </tbody>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <%--end content--%>
            <div class="Pager">
                <div class="PageDetail">
                    <asp:Label ID="lbPageDetail" runat="server"></asp:Label></div>
                <br class="ClearFix" />
                <ul>
                    <li>
                        <asp:LinkButton ID="lbtnFirst" runat="server"></asp:LinkButton></li>
                    <li>
                        <asp:LinkButton ID="lbtnPrev" runat="server"></asp:LinkButton></li>
                    <li>
                        <asp:Label ID="lbDigitPage" runat="server" Text="1 2 3 4 5 ..."></asp:Label></li>
                    <li>
                        <asp:LinkButton ID="lbtnNext" runat="server"></asp:LinkButton></li>
                    <li>
                        <asp:LinkButton ID="lbtnLast" runat="server"></asp:LinkButton></li>
                </ul>
            </div>
            <asp:Literal ID="lMsg" runat="server"></asp:Literal>
            <div class="hide">
                <asp:LinkButton ID="lbtnTurnPage" runat="server" Text="lbtnTurnPage"></asp:LinkButton></div>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
